
import random
print("""
***************************************
        驻波要发神经！！！！！！！！！
        猜数字快乐弱智小游戏（）
***************************************
""")

level = int(input("choose level:30,50,100\n"))
lucknum = random.randint(1,level)

guess = int(input("guess a num:"))
while True:
    if guess == lucknum:
        print("恭喜猜对了")
        break
    else:
        print("呵呵，废物，错了！")
        if guess > lucknum:
            print("太肉了！")
        else:
            print("太脆了！")
        guess = int(input("guess a num:"))
